package org.xjtu.weteam.model.dto;

import jakarta.persistence.Id;
import lombok.Data;
import lombok.experimental.Accessors;
import org.xjtu.weteam.model.domain.Task;

import java.sql.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class TaskDTO {
    @Id
    private Integer taskId;
    private String projectName;
    private boolean expanded = false;
    private String status;
    private String taskName;
    private Date dueDate;
    private List<Task> sons;
}
